// #ifndef VUE3
//vue2时编译的代码块
import Vue from 'vue'
import Vuex from 'vuex'
import user from '@/store/modules/user'
import getters from './getters'

Vue.use(Vuex)
// #endif

// #ifdef VUE3
//vue3时编译的代码块
import { createStore } from 'vuex'
import user from '@/store/modules/user'
import getters from './getters'
const store = createStore({
// #endif
  modules: {
    user
  },
  getters
})

export default store
